package cn.livingCloud.dto;

import cn.livingCloud.entity.core.ReplySet;

/**
 * Created by 唐旭 on 2016/6/1.
 */
public class ReplySetFormDto {
    private String uuid;
    private String name;
    private String content;

    public ReplySetFormDto() {
    }

    public ReplySetFormDto(ReplySet set) {
        this.uuid = set.getUuid();
        this.name = set.getName();
        this.content = set.getContent();
    }

    public String getContent() {
        return content;
    }

    public ReplySetFormDto setContent(String content) {
        this.content = content;
        return this;
    }

    public String getName() {
        return name;
    }

    public ReplySetFormDto setName(String name) {
        this.name = name;
        return this;
    }

    public String getUuid() {
        return uuid;
    }

    public ReplySetFormDto setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }

    public void update(ReplySet set) {
        set.setName(this.name);
        set.setContent(this.content);
    }
}
